﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ProductServiceReference;
public partial class UserControls_ProductDetails : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btnBuy_Click(object sender, EventArgs e)
    {
        
    }
    protected void btnAddtoCart_Click(object sender, EventArgs e)
    {
        var dataTable = new DataTable();
        var client = new ProductServiceClient();
        Session["product"] = client.GetProduct(int.Parse(Request.QueryString["prodid"]));
    }
}